//
//  CCDevice.h
//  Party
//
//  Created by its on 15/3/13.
//  Copyright (c) 2015年 coco. All rights reserved.
//
#import <Foundation/Foundation.h>
#ifndef  CCDEVICE
#define  CCDEVICE
CGFloat naviwidth;
CGFloat naviheight;
#define DEVICEFRAME  [[UIScreen mainScreen] bounds]
#define DEVICEWIDTH  [[UIScreen mainScreen] bounds].size.width
#define DEVICEHEIGHT [[UIScreen mainScreen] bounds].size.heigth
#define IOS_VERSION [[[UIDevice currentDevice] systemVersion] floatValue]
#define RGB(r, g, b, a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#endif

